package com.group.mall.service;


import com.group.mall.domain.POJO.Comments;
import com.group.mall.domain.POJO.Goods;
import com.group.mall.domain.VO.GoodsImageAndNameVO;

import java.util.List;

public interface CommentsService {

    /**
     * 根据Id获取历史评价
     * @param
     * @return
     */
    List<Comments> getComments();

    String getUserName(Long id);

    String getImage(Long goodsId);

    List<GoodsImageAndNameVO> getGoodsImageAndName(Long goodsId);

    List<Comments> getCommentList(Integer goodsId);

    List<Comments> getCommentLimitList(Integer goodsId);
}
